package aam.model.subboard;

import java.util.HashMap;
import java.util.List;

public interface SubBoardDao {

		public List<SubBoardVO> getAllGuestBookList(int p)throws Exception;
		public int getBoardTotalConunt()throws Exception;
		public int writeGuestBook(HashMap map)throws Exception;
		public int deleteGuestBook(int no)throws Exception;
		
		public void writeReply(SubBoardVO vo) throws Exception;
		public List<SubBoardVO> getReplyByNo(int no) throws Exception;
		public void deleteReply(int replyNo) throws Exception;

		public List<SubBoardVO> replyPaging(HashMap map)throws Exception;
		public int getReplyTotalConunt(int no)throws Exception;
		
		public void updatePointWriteReply(String memberId) throws Exception;
		
		public void insertReport(String no) throws Exception;
		public int updateReport(String no) throws Exception;
		public List selectReport() throws Exception;
}
